home *** CD-ROM | disk | FTP | other *** search
- ECHO OFF
- SDL_ASK B
- SDL_ASK P
- IF ERRORLEVEL 1 GOTO first
- ECHO The system check indicates that there may not be a printer attached.
- SDL_ASK C "Continue with printing DEMO anyway (Y,n)? " YN}~
- IF ERRORLEVEL 126 GOTO END
- IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO end
- :first
- ECHO * * *
- ECHO Now we will use your printer to demonstrate the printing capabilities
- ECHO of SDL. There are 6 print parameters, the first 2 on the command line:
- ECHO /L for automatic Label printing.
- ECHO /P to pop up the print options menu.
- ECHO And the last 4 from the print menu:
- ECHO W to Write labels in compressed print, 8 lines per inch.
- ECHO R for Regular pRint - your printer settings will not be changed.
- ECHO I to print sleeve Inserts, compressed, 8 lines per inch.
- ECHO T for Tiny print using compressed and superscript.
- ECHO * * *
- ECHO W can fit 5 file names in each column on a standard label, or
- ECHO 7 if H is used to suppress the first two lines of the header.
- ECHO This means that you can get up to 42 names on a label with W. T can
- ECHO fit 11 file names in each column, so with 6 columns you can get 66
- ECHO file names on one label. If you use the H option to eliminate the
- ECHO first two lines of the header, you can get 13 names per column for
- ECHO a maximum of 78 names on the 5 x 1-7/16" labels provided with SDL.
- ECHO (SDLSETUP will let you increase these numbers if your printer
- ECHO can handle more.)
- ECHO * * *
- pause
- ECHO Don't bother to load your printer with labels for this demo.
- ECHO Regular paper will work nicely for now.
- ECHO * * *
- ECHO Sorry, but there is no way to demonstrate the printing features without
- ECHO changing the Top Of Form (TOF) setting of your printer. SDL will
- ECHO return your printer to its normal print mode, all that is necessary
- ECHO for you to do is just realign your paper when finished.
- ECHO * * *
- SDL_ASK C "Is this acceptable (Y,n)? " YN}~
- if errorlevel 126 goto end
- If errorlevel 89 goto continue
- ECHO * * *
- ECHO Please note that you can set the sleeve Insert option (/I) to eject
- ECHO a full page with SDLSETUP if you want to. Then it will not disturb
- ECHO your TOF setting.
- ECHO * * *
- SDL_ASK C "Do you really want to exit (Y,n)? " YN}~
- if errorlevel 89 goto end
- :continue
- SDL_ASK B
- ECHO * * *
- ECHO When you are using SDL to print, if you exit with Ctrl-C or Ctrl-Break
- ECHO you will not give SDL a chance to return your printer to its normal
- ECHO setting. Always exit normally by using space or Enter or Esc.
- :second
- ECHO * * *
- ECHO To start with, the L option will be demonstrated.
- ECHO * * *
- ECHO This is completely automatic and so easy that it is not all that
- ECHO exciting to demonstrate. The /L (for Label) option automatically
- ECHO determines an appropriate way to print the number of files you have
- ECHO selected. /L or /l has to be entered on the command line. It is not
- ECHO available as a menu item because at that point you can see what you
- ECHO have and make your own selections. This is how SDL lets you keep
- ECHO control if you want to. The command is simply
- ECHO * * *
- ECHO SDL /L/M
- ECHO * * *
- ECHO The optional /M is for More and toggles off the pause at the end.
- pause
- SDL /L/M
- ECHO Note that if you have more files than will fit on a label SDL
- ECHO will report that fact and exit without printing.
- pause
- :third
- ECHO * * *
- ECHO This time the DEMO will require your cooperation. The /P option
- ECHO will pop up the print option menu. We will let you select W, R, I, or T
- ECHO from the menu to print the way you want to. You may try several
- ECHO different selections, but after each one you have to press P
- ECHO to bring up the print menu again.
- ECHO * * *
- ECHO When you use /P on the command line, the FIRST time the print
- ECHO menu pops up, and ONLY the first time, W or T will cause the
- ECHO number of columns to be adjusted to fit on a label, or you will
- ECHO see the report that there are too many files for a label.
- ECHO However, when you select P from the menu, the number of columns
- ECHO has already been set and will not be changed. To change columns
- ECHO at that point use the 2, 4, or 6 menu selections instead.
- ECHO * * *
- SDL_ASK C "Enter Y to continue, N to repeat the previous demo (Y,n)? " YN}~
- if errorlevel 126 goto end
- if errorlevel 78 if not errorlevel 79 goto second
- sdl_ask B
- ECHO With R your printer will print in its normal fashion. You can experiment
- ECHO with different column options if you like. Notice that the prompting
- ECHO information (menu) is not printed, so even if SDL pauses, your output
- ECHO looks OK.
- ECHO * * *
- ECHO The I option prints in compressed mode, but the number of columns
- ECHO is adjusted for the size of the screen, not for a label. This
- ECHO is used to print in an appropriate size to cut out and slip into
- ECHO the diskette envelope.
- ECHO * * *
- ECHO Pressing Esc turns printing off, Return [CR] makes no change.
- ECHO The command is
- ECHO * * *
- ECHO SDL /P/C
- ECHO The optional /C will suppress the clearing of the screen. You
- ECHO can cause the screen to clear and the printer to eject the label
- ECHO by pressing the C (for Cls) key when shown on the menu. Note
- ECHO the [ff ON] or [ff OFF] depending on whether you have set form feed
- ECHO ON or OFF using the Cls selection.
- pause
- SDL /P/C
- SDL_ASK B
- ECHO * * *
- ECHO Although it may be convenient to do so, it is not absolutely necessary
- ECHO to suppress pausing when printing. The prompts will not be printed,
- ECHO but if you exit with Esc at an intermediate pause, the rest of the
- ECHO directory list will not be printed.
- ECHO * * *
- ECHO Notice that when exiting, SDL ejects the Insert or Label and positions
- ECHO the next one automatically.
- ECHO * * *
- ECHO If you print an even number of Inserts, your TOF will be back to where
- ECHO you had it set. If you print an odd number, it will be in the middle
- ECHO of the page, but this allows two Inserts on a page, and can save paper
- ECHO when printing several inserts. Please note that you can set the sleeve
- ECHO Insert option to eject a full page if you want to. That way your TOF
- ECHO setting will not be disturbed.
- ECHO * * *
- SDL_ASK C "Enter Y to continue, N to repeat the previous demo (Y,n)? " YN}~
- if errorlevel 126 goto end
- if errorlevel 78 if not errorlevel 79 goto third
- :fourth
- SDL_ASK B
- ECHO * * *
- ECHO If you do not include /P on the command line, then you can select
- ECHO printing by pressing P when it is shown highlighted on the menu.
- ECHO When you initiate printing this way, SDL assumes that you have
- ECHO adjusted the number of columns to your liking and will print "as
- ECHO is." If you are printing labels make sure that you do not have
- ECHO more rows of file names than will fit on a label. 5 or 7 for
- ECHO W depending on the Hdr toggle setting, and 11 or 13 for T.
- ECHO * * *
- ECHO Notice that the first items on the menu are [Prn OFF ff OFF].
- ECHO When you start printing the first one will change to [Prn ON].
- ECHO If you press C the second will change to [ff ON]. You can turn
- ECHO both off again by pressing P for the print menu, then pressing Esc.
- ECHO * * *
- pause
- ECHO This time we will let you make all the selections. Use 2, 4, or 6
- ECHO to adjust the number of columns, then press P for the print menu,
- ECHO and select the type of printing you want. Experiment with Cls
- ECHO when you see it on the menu, and try turning printing off with Esc.
- ECHO We will also use the /E option to let you enter your own titles
- ECHO in the header.
- ECHO * * *
- ECHO The command is simply
- ECHO SDL /e
- ECHO * * *
- pause
- SDL /e
- ECHO * * *
- ECHO When using the /E option to enter titles you can blank out a title
- ECHO line completely by entering one or more spaces. To keep any
- ECHO line of the title unchanged, just press Enter with no spaces.
- ECHO * * *
- ECHO That was the last printing demo.
- ECHO * * *
- SDL_ASK C "Enter Y to exit, N to repeat the previous demo (Y,n)? " YN}
- if errorlevel 78 if not errorlevel 79 goto fourth
- :end
- MENU
-